package com.qiwo.webshow.domain;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 
 * <pre>
 *  @author  chenwenchao
 *  @date 2019-01-15 21:48:13
 * 联系我们
 * </pre>
 * <small> 2019-01-15 21:48:13 | chenwenchao</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("tb_contactus")
@EqualsAndHashCode(callSuper=true) 
public class ContactusDO extends Model<ContactusDO> implements Serializable {
	@TableId
	private Long id;

    /** 标题 */
    @ApiModelProperty("标题")
    @TableField("title")
    private String title;

    /** 标题值 */
    @ApiModelProperty("标题值")
    @TableField("tiltle_value")
    private String tiltleValue;

    /** 电话标题 */
    @ApiModelProperty("电话标题")
    @TableField("tel_title")
    private String telTitle;

    /** 联系电话 */
    @ApiModelProperty("联系电话")
    @TableField("tel")
    private String tel;

    /** 邮箱标题 */
    @ApiModelProperty("邮箱标题")
    @TableField("email_title")
    private String emailTitle;

    /** 邮箱地址 */
    @ApiModelProperty("邮箱地址")
    @TableField("email")
    private String email;

    /** 网站地址标题 */
    @ApiModelProperty("网站地址标题")
    @TableField("website_title")
    private String websiteTitle;

    /** 官网地址 */
    @ApiModelProperty("官网地址")
    @TableField("website")
    private String website;

        @Override
        protected Serializable pkVal(){
            return this.id;
        }
}
